package com.chpro.finance.accountmanager.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chpro.finance.accountmanager.dao.BankAccountDao;
import com.chpro.finance.accountmanager.entity.BankAccount;
import com.chpro.finance.accountmanager.service.BankAccountService;
import com.chpro.orm.hibernate.DaoBase;
import com.chpro.orm.hibernate.ServiceBaseImpl;

@Service(value="bankAccountServiceImpl")
public class BankAccountServiceImpl extends ServiceBaseImpl<BankAccount> implements BankAccountService {

	private BankAccountDao bankAccountDao;
	
	@Resource(name="bankAccountDaoImpl")
	public void setBankAccountDao(BankAccountDao bankAccountDao) {
		this.bankAccountDao = bankAccountDao;
	}

	@Override
	public DaoBase<BankAccount> getDao() {
		// TODO Auto-generated method stub
		return bankAccountDao;
	}

}
